#!/bin/bash

LONGN=`readlink -m $1`
DP_DIR=~/svn/DP
OLD_DIR=`pwd`

cd $DP_DIR
killall dp
./dp -q -e $LONGN &
cd $OLD_DIR
cat R-RESULT | sed "s/bogus//" > $2
killall dp
